package com.dsg.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系統資訊範本
 * </p>
 *
 * @author system
 * @since 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DsgSysTemplate对象", description = "系統資訊範本")
public class DsgSysTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "資訊類型")
    @TableField("MSG_TYPE")
    private Integer msgType;

    @ApiModelProperty(value = "標題")
    @TableField("MSG_TITLE")
    private String msgTitle;

    @ApiModelProperty(value = "內容")
    @TableField("MSG_CONTENT")
    private String msgContent;

    @ApiModelProperty(value = " 備註")
    @TableField("MSG_REMARKS")
    private String msgRemarks;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @TableField(value = "ENT_CODE")
    @ApiModelProperty(value = "企業編號", name = "entCode")
    private String entCode;

}
